package com.justgame.project.service.just.mapper;

import com.justgame.project.service.api.dto.JustGameCompanyDTO;
import com.justgame.project.service.api.vo.JustGameCompanyVO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JustGameCompanyMapper {
    List<JustGameCompanyVO> getList(@Param("dto") JustGameCompanyDTO dto);

    int Insert(@Param("dto") JustGameCompanyDTO dto);

    int Delete(@Param("dto") JustGameCompanyDTO dto);

    int UpdateById(@Param("dto") JustGameCompanyDTO dto);

    @MapKey("id")
    List<Map<String, Object>> selectIndexList();
}
